﻿/*
 * 资源工具类
 * 
 * 
 */

namespace SG
{

    class ResourceTool
    {
        /// <summary>
        /// 资源是否常驻内存
        /// </summary>    
        public static bool IsAssetDontDestory(string location)
        {
            if (location == "UI/Prefabs/Logo/Loading"

                || location == "UI/Prefabs/root/UI2DRoot"

                || location == "UI/Prefabs/Common/NetworkWaitingUI"

                || location == "UI/Prefabs/ScreenTapFx/ScreenTapFXUI"

                || location == "UI/Prefabs/ScreenTapFx/ScreenTapFXUICamera"

                )
                return true;
            return false;
        }
    }
}
